﻿<sample:DemoView x:Class="Samples.Modules.Calculator.Views.CalculatorUpDownView"
                 xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                 xmlns:sample="clr-namespace:Samples.Infrastructure.Controls;assembly=Samples.Infrastructure"
                 xmlns:Control="clr-namespace:WPFDataEditors.CalculatorDropDown.Control;assembly=WPFDataEditors"
                 Title="CalculatorUpDown">
   <Grid>
      <Grid.RowDefinitions>
         <RowDefinition Height="Auto" />
         <RowDefinition Height="Auto" />
         <RowDefinition Height="*" />
      </Grid.RowDefinitions>
        <GroupBox  Grid.Row="1" Margin="5">
            <GroupBox.Header>
                <TextBlock Text="Features:" FontSize="16" FontWeight="Bold" Foreground="DarkBlue"/>
            </GroupBox.Header>
            <StackPanel Margin="5" HorizontalAlignment="Left">
                <StackPanel.Resources>
                    <Style TargetType="TextBlock">
                        <Setter Property="Margin" Value="5"/>
                        <Setter Property="Foreground" Value="DarkBlue"/>
                    </Style>
                </StackPanel.Resources>
                <TextBlock>1: To open calculator click on drop down.</TextBlock>
                <TextBlock>2: Whatever value which is currently displayed in calculator shows up in text area of drop down.</TextBlock>
                <TextBlock>3: Copy paste feature in calculator display area.</TextBlock>
            </StackPanel>
      </GroupBox>
      <StackPanel Grid.Row="2" Margin="10" HorizontalAlignment="Left">
         <TextBlock Text="Usage:" FontSize="16" FontWeight="Bold" Foreground="DarkBlue"/>
            <Control:CalculatorDropDown Height="20" Width="278"></Control:CalculatorDropDown>
        </StackPanel>
   </Grid>
</sample:DemoView>
